Part Number Hot Search : 
DH4330 15KE20 LC945 MAZT120H 2N3507A G2406 033EF02 A330M
Product Description
Full Text Search
 

To Download AN293 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  application note AN293/0694 balancing with solid-state slics by bernard saby ts5070/5071 combo ii programming and hybrid 1. introduction 2. schematic diagram 3. programming the ts5070/71 combo ii - control - latches - time-slot and ports - tx gain and rx gain 4. hybrid balancing - echo path of the slic 1/11
1. introduction the ts5070/71 combo ii is a programmable codec/filter circuit especially developped for the subscriber line card applications in a central office or pabx. compared to the currentlyused first generationcofi- decs, such as : etc 5054/57, m5913/14, ... the ts5070/71combo ii provides two major enhance- ments : 1) several functions, previously assumed by exter- nal components, are now oon-chipo with the ts5070/71 combo ii. such features include : - gain adjustable transmit and receive amplifiers (25.4db range). - time-slot assignment (one out of 64). - pcm port assignment (2 transmit and receive ports, on the ts5070). - analog and digital loopback, for test mode. - hybrid balance cancellation filter. 2) all these added functions are programmed by the card-controller, through a 4-wire serial bus. other programmable features include : - a-law or m -law selection. - european (2.048 or 4.096mhz) or north american master clock (1.536 or 1.544mhz). - 6 input/outputinterface latches (5 on the ts5071). these latches facilitate the logical interface with a transformer or an electronic parallel control slic, such as l3000n+l3092 kit or l303x monochip slic or any other function. the programmable features of the ts5070/71 combo ii simplify the design of the line card and provide more flexibility, especially when the same module must operate in different countries and must deal with the various telecom administrations re- quirements : only a few external components must be changed in the slic and the major adaptations are assumed by the ts5070/71 combo ii pro- gramming. as an example, this note describes briefly the de- sign of a line card module, using a ts5070/71 combo ii with a transformer slic and the solid state slics from sgs-thomson microelectronics l3000n/l3092 kit and the l303x monochip slic. the adaptationof the line card kit to several telecom administrations requirements is also discussed.. the ts5071 basic version of the combo ii is pack- aged in a 20-pin dil case. the ts5070 is a full fea- ture version available in a 28-pin plcc or 28-pin dip package : - interface latch pin il5 isbonded out : 6 input/output latches are available. - programmable ports : dx1, dr1, and tsx1 are bonded out : 2 pcm port are available. - serial interface : ci and co are separated. - clock inputs : bclk and mclk are not bonded to- gether, providing two separate clock inputs. 2. schematic diagram transformer slic the design of the transformer is greatly simplified, due to the on-chip hybrid balance cancellation filter : only one single secondary winding is required (see fig. 1). zt is the line termination impedance as re- flected through the transformer (impedance meas- ured between tip and ring) : its value is determined by the administration requirements and the trans- former characteristics. zt provides an echo : a part of the receive signal on vfro is injected into the transmit path vfxi. the in- ternal hybrid balance filter is designed in order to replicate the echo path, and thus to cancel it. in this application, the input/output latches are used as relay drivers (buffered through an external tran- sistor) : ring relay, test relays... and line monitoring : off-hookdetection,ground key detection.thus, the card controller can monitor the whole line card mod- ule through the unique control port of the ts5070/71 combo ii. when the cs pin is held high by the card controller (chip disabled), the co output of the ts5070 is placed in a high impedance state, allowing several ts5070/71 combo ii to share the same data link. sgs-thomson microelectronics slic and the ts5070/71 combo ii : a kit approach sgs-thomson microelectronics provides now solid-state monolithic slics. these chips associ- ated with the ts5070/71 combo ii and the espe- cially designed protection components, feature all the borsch functions (i.e. battery feeding, over- voltage protection, ringing injection, supervision of the loop, codec/filter and hybrid 2-wire to 4-wire conversion). the versatility of these kits allows an easy adaptation for the different telecom admini- strations requirements throughout the world. the schematic diagrams are detailed in fig. 2 and 3. the sgs-thomson slics parallel control inter- face allows the use of the il interface latches of the ts5070/71 combo ii (see fig. 2 and 3). the zac impedance synthesizes the output imped- ance of the slic on tip & ring ; hence, this network shouldbe designeddifferently for each country. the application note 2/11
structure of this network is a copy of the line imped- ance ; please, refer to the relevant slic data-sheet for more details. the obalancingo network, za and zb is used by the slic to balance the 2-wire/4-wire conversion. when using the ts5070/71 combo ii, this balancing network is no more necessary (zb pin to gnd) being the hybrid balancing performed by the ohybalo filter of the combo. 3. programming the ts5070/71 combo ii the control information of the ts5070/71 combo ii require 2 bytes of informations, with the exception of a single-byte power-up/down command. when cs is pulled low a first oinstructiono byte is shifted into the ts5070 combo ii, at pin ci (or ci/o for the ts5071) on the falling edge of each cclk clock pulse, the most significant bit first. during the 8th (dummy) bit, the content of this instruction is de- coded by the combo and, depending wether a oreado or a owriteo instruction is performed, a second odatao byte is shifted into or shifted out from the combo. * bit #1 is the single-byte control bit : when 0, this is a single-byte power-up/down instruction, no data byte is expected. * bit #2 is the read/write control bit : when 0, the data byte will be written by the card controller into the combo. when 1, the data byte will be read by the card controller from the combo. * bit #3, 4, 5, 6 specify which one of the 10 registers of the ts5070/71 combo ii is to be accessed. * bit #7 is the power control bit : when 0, the combo is placed in power-up state ; when 1, the combo is placed in power-down. note that the power state can be set in any instruction. * bit #0, the last bit, is a dummy bit to allow for de- coding of the 7 previously entered bits. its value is not taken into account and has no influence on the ts5070/71 combo ii operation. when writing to the ts5070/71 combo ii, the data byte may follow the instruction byte immediately, or cs may be pulled high between the 2 bytes. the data byte is shifted into the combo in the same way as the instruction byte : msb first, on the falling edge of each cclk clock pulse. when readingfrom the ts5070 combo ii, the data byte is shifted out, onto the co pin (ci/o pin for the ts5071), msb first, on the rising edge of each cclk clock pulse. as for the write operation,cs can be pulled high between the instruction and the data byte. after a read or a write operation is completed, it is recommended, although this is not mandatory, that the cs pin should be put highto reset thecontrol port logic. the contentof the instruction byte is detailed in table 1: table 1 : instruction byte. bit # 7 6543210 single byte power-up/down p x x x x x 0 x control register p 0000w1x latch direction register p 0010w1x interface latch register p 0001w1x receive time-slot/port p 1001w1x transmit time-slot/port p 1010w1x receive gain register p 0100w1x transmit gain register p 0101w1x hybrid balance register # 1 p0110w1x hybrid balance register # 2 p0111w1x hybrid balance register # 3 p1000w1x p = power control bit : o0o = power-up, o1o power-down w = read/write control bit : o0o = wri te, o1o = read x = don't care (0 or 1) application note 3/11
data byte : control register the content of the control register is detailed in table 2 : table 2 : control register. bit number function 76543210 0 0 1 0 0 1 0 1 mclk = 512khz mclk = 1.536 or 1.544mhz mclk = 2.048mhz* mclk = 4.096mhz 0 1 1 x 0 1 m -255 law* a-law, with even bit inversion a-law, no even bit inversion 0 1 delayed data timing non-delayed data timing* 0 1 0 0 x 1 normal operation* digital loopback analog loopback 0 1 power amp enabled in pdn power amp disabled in pdn* * = state at power-on initialization. the * specifies the default value of the control reg- ister at the power-on initialization. mclk : master clock used by the combo's filters, encoder and decoder. it is necessary to indicate which frequency is beeing applied to the combo, for a correct filter operation. companding law : the m -255 compressing and expanding law is used in usa & japan, a-law in europe. usually, in a-law, even bits are inverted : 0000 0000 becomes : 0101 0101 ; if this even bit in- version is performed in another part of the switching system, a ono even bit inversiono is available. data timing : in non-delayed data timing mode, the time-slot always begin with the rising-edge of fsx or fsr ; time-slot assignment is not available in this mode. in delayed data timing mode, time-slot begins after a falling edge of bclk, when fsx or fsr is set high ; the time-slot assignment featureof combo ii can be used in this mode only. note that pcm port selection is available in both tim- ing modes. loopback : test modes : in analog loopback, vfxi is isolated from input pin and internally con- nected to the vfro output, providing a complete d to d test loop. in digital loopback, the pcm byte written into the receive register, can be read back in any transmit time-slot at dx0 (or dx1) pin. power amp : if o1o, the power amplifier, at vfro output is disabled during the power-down state, i.e. vfro pin is high impedance state. it is very easy to set the ts5070/71 combo ii con- figuration in any ou.s.o or oeuropeano environment. in the following example, the line card module must be adapted to an european telecom administration specifications ; should be selected : - master clock = 2.048mhz - a-law with even bit inversion - delayed data timing (which allows the time-slot assignment feature) - normal operation (no loop back) - power amp disabled in power-down consequently, the instruction byte 10000010 (82 hexadecimal), followed by the data byte o10100001o (a1 hexadecimal) should be written into the combo ii. data byte : latch direction register bit number 76543210 l0 l1 l2 l3 l4 l5 x x * the bits #7 to #2 specify the function of each in- terface latch pin ; bit #0 and bit #1 are dummy bits. * if ln = 0 then iln is a high-impedance input. * if ln = 1 then iln is an output. notes : - unused pins should be programmed as outputs. - when using the ts5071 the il5 pin should be programmed as an output. application note 4/11
in the case of a l3092 slic, as described in fig. 3, il0 pin, il1 and il4 are connected to l3092 inputs : they must be programmed as outputs. il2 and il3 must be set as inputs, because they are connected to l3092outputs and il5 is not used : thispin should be set as output. in this example a o11001100o (cc hexadecimal) code should be written into the latch direction reg- ister. data byte : interface latch register bit number 76543210 d0 d1 d2 d3 d4 d5 x x x = don't care. * when writing to this register, the il pins pro- grammed as outputs assume the state of the corre- sponding bit dn, in data byte. * when reading from thisregister : for the il pins pro- grammed as outputs, the dn bits correspond to the data previously written in this register ; for the il pins programmed as inputs, the dn bits correspond to the data read by these input pins. in the case of the l3092 (fig. 3), if the slic must be put in ostand-byo mode, i.e. pwon and rng pins = 0 and ncs = 1, o00001000o (08 hexadecimal) should be written into the interface latch register. note that bit #5 and bit #4 have no effect, since the il2 and il3 pins are programmed as input. data byte : receive time-slot register and transmit time-slot register bit number and name 76543210 en ps t5 t4 t3 t2 t1 t0 0 1 xxxxxx disable dx outputs (in tx reg.) disable dr inputs (in rx reg.) 1 0 time-slot (0-63) enable dx0 output, disable dx1 (in tx reg.) enable dr0 input, disable dr1 (in rx reg.) 1 1 time-slot (0-63) enable dx1 output, disable dx0 (in tx reg.) enable dr1 input, disable dr0 (in tx reg.) * the 6 bits t5-t0 assign one time-slot from 0 to 63 (111111 in binary) ; available in delayed data tim- ing only. * the ps oport selectiono bit #6 selects the dr0 in- put, when 0, or the dr1 input, when 1, in the re- ceive time-slot register, and, respectively dx0 or dx1 output in the transmit time-slot register. note : on the ts5071 the dr1 and dx1 pins are not bonded out : the ps bit must always be set to 0. * the en bit enables (when 1) the pcm input or out- put selected by the ps bit or disables them (when 0). note : the disabled pins are in a high impedance state. in the above example, odelayed data timingo was selected in the control register : when using the dx0/dr0 pcm port, time-slot #5 for transmission and time-slot #27 for reception, the contents of the tx time-slot and rx time-slot registers must be : o10000101o (85 hexadecimal) and o10011011o (9b hexadecimal). data byte : transmit gain and receive gain register the ts5070/71 combo ii includes a transmit and a receive programmable amplifier ; these amplifiers allow an easy setting of the transmission level point (0tlp = 0dbm0) of the combo ii, within the speci- fied limits. the following formulas give the 2 bytes to be programmed in the tx and the rx gain regis- ters : 200 x log10 (v vfxi / 0.6) + 191, for the tx gain register, converted in binary. 200 x log10 (v vfro / 0.6) + 174, for the rx gain register, converted in binary. v is the desired analog voltage, at vfxi pin for tx gain and vfro pin for rx gain, expressed in vrms, and corresponding to a digital 0dbm0 pcm level, as defined in ccitt g.711 ; the transmit input signal at vfxi must be in the range of 0.087 to 1.619vrms, and the output receive amplifier at vfro provides a signal from 0.106 to 1.96vrms (for a 0dbm0 pcm signal). the tx and rx gains can be also calculated from application note 5/11
the desired analog levels at vfxi and vfro ex- pressed in dbm into 600 w ; in this case, the bytes to be programmed are calculated as follows : 10 x (vfxi level in dbm 600 w ) +191, forthe tx gain register, converted in binary. 10 x (vfro level in dbm 600 w ) + 174, for the rx gain register, converted in binary. refer to the following example (fig. 4) : figure 4 : example of tx and rx levels. - the transmit signal is 0dbm (600 w ) on tip-ring wires for a 0dbm0 pcm level at the dx0 output. - the receive signal is - 7dbm (600 w ) on tip-ring wires for a 0dbm0 pcm level at the dr0 input. the 0dbm0 pcm level is the bit sequence defined in the ccitt recommendation g.711. we must first determine the analog levels at vfxi input and vfro output of the ts5070/71 combo ii. due to their ofeedback loopo structure, the sgs- thomson slics considered have a 0db gain, in rx direction and 6db in tx direction. this particu- lar tx gain has been chosen in order to optimize hy- bal combo ii filter dynamic range. consequently the analog level at vfxi input will be : 6dbm (600 w ) = 0.3873vrms, and the output level at vfro : 7dbm(600 w ) = 0.346vrms. the tx gain to be programmed in the ts5070/71 combo ii will be : 10 x (6dbm) + 131 = 83 hexa = 10000011 binary this byte must be written in the tx gain register. the rx gain will be : 10 x (- 7dbm) + 174 = 174 - 70 = 104 = 68 hexa = 01101000 binary this byte must be written into the rx gain register. these programmable gains provide more flexibility for the design of the line-card : if the transmit signal is - 8dbm instead of 6dbm, it is easy to re-program the tx gain register : 10 x (- 8dbm) + 191 = 191 - 80 = 111 = 6f hexa = 01101111 binary in this case, tx gain must be set to 111 decimal = 6f hexadecimal = 01101111 binary. it is easy to adapt this example to any particular configuration. the designers shall notice that the gains are ad- justed in 0.1db steps. consequently, the gain for - 8dbm will be 20 steps below the gain for 6dbm, i.e. 131 - 20 = 111. note that if the analog output level, at vfro, ex- ceeds 1.7vrms, for a 0dbm0 pcm input at dr0, there are some restrictions on the value of the load connected at vfro : - if the level is less than 1.7vrms, the load imped- ance must be greater than 300 w - if the level is between 1.7vrms and 1.9vrms, the load impedance must be greater than 600 w - if the level is between 1.9vrms and 1.96vrms, the load impedance must be greater than 15k w l3000n + l3092 or l303x application note 6/11
4. hybrid balancing the hybrid balance filter of the ts5070/71 combo ii is entirely programmable : the ozeroo and opoleo combinations for the low frequency hybal filter #1 and the high frequency hybal filter #2 can be set by the card controller ; in addition, a programmable at- tenuatoradjust the amplitude of the cancellationsig- nal (see fig. 5). figure 5 : hybrid balance cancellation filter. the hybrid balance filter is set by the contents of 3 registers ; an optimization software (ts5077) de- termines the 3 bytes to be written in these registers. echo path of the slic the first step for the calculation of the hybrid bal- ance filter is the echo path of the slic : vin/vout (see fig. 5). the amplitudeand the phase of the echo signal must be determined for 14 frequencies, from 200 to 3500hz. a ohybrid balanceo test network must be connected between tip and ring wires. the echo path can be measured or calculated by simulation of the transfer function of the slic. the ts5077 optimization software includes a simulation module for a transformer slic. optimization software the echo path must be entered into the program, for each balancing network, then the optimization rou- tine is run. this routine tests all the combinations of the hybrid balance filter and selects the one which is the closest to the echo path, and then providesthe three bytes to be programmed into the three hybrid balance registers. some optimization examples with the different slic kits from sgs-thomson microelectronics are described in the application note osgs-thomson slic kits and combo iio. 5. conclusion these examples show the great flexibility of the ts5070/71combo ii in its adaptationwith different line-cards, different slics and different countries. this flexibility, coupled with the programmable fea- tures, enhancethe integrationof the line-card : more subscribers per board, more reliability, easier adap- tation, ... and, last but not least : a significant reduc- tion of the total cost of the line card. application note 7/11
figure 1 : interface with transformer slic. application note 8/11
figure 2 : interface with l3037 monochip slic. application note 9/11
figure 3 : interface with l3000n + l3092 solid-state slic. n application note 10/11
information furnished is believed to be accurate and reliable. however, sgs-thomson microelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of sgs-thomson microelectronics. specifications mentioned in this publication are subject to change without notice. this publication supersedes and replaces all information previously supplied. sgs-thomson microelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of sgs-thomson microelectronics. ? 1995 sgs-thomson microelectronics - all rights reserved sgs-thomson microelectronics group of companies australia - brazil - france - germany - hong kong - italy - japan - korea - malaysia - malta - morocco - the netherlands - singapore - spain - sweden - switzerland - taiwan - thaliand - united kingdom - u.s.a. application note 11/11


▲Up To Search▲   

 
Price & Availability of AN293

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X